#define  _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<assert.h>
int sim_strcmp(const char* s1, const char* s2)
{
	assert(s1 && s2);

	while (*s1 == *s2 && *s1 != '\0' && *s2 != '\0')
	{
		s1++;
		s2++;
	}
	return *s1 - *s2;
}

//int main()
//{
//	char ch1[] = "abcd";
//	char ch2[] = "\0";
//	printf("%d", sim_strcmp(ch1, ch2));
//	return 0;
//}